<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="basePath" value="${pageContext.request.contextPath}"/>
<!DOCTYPE HTML>
<html lang="zh-cn">
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>金指王溯链 - 登录</title>
    <meta name="keywords" content="金指王溯链">
    <meta name="description" content="金指王溯链管理平台">

    <link rel="shortcut icon" href="${basePath}/resources/hplus/favicon.ico"> <link href="${basePath}/resources/hplus/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="${basePath}/resources/hplus/css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="${basePath}/resources/hplus/css/animate.css" rel="stylesheet">
    <link href="${basePath}/resources/hplus/css/style.css?v=4.1.0" rel="stylesheet">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>
</head>
<body>

<div class="middle-box text-center loginscreen  animated fadeInDown">
    <div>
        <div>

            <h1 class="logo-name">Kin</h1>

        </div>
        <h3>欢迎使用 金指王溯链管理平台</h3>

        <form class="m-t" role="form" action="/sso/login">
            <div class="form-group">
                <input type="text" class="form-control"  id="username" name="username" placeholder="用户名" required="">
            </div>
            <div class="form-group">
                <input type="password" class="form-control" id="password" name="password" placeholder="密码" required="">
            </div>
            <button type="button" id="login-bt" class="btn btn-primary block full-width m-b">登 录</button>
            <!--<p class="text-muted text-center"> <a href="${basePath}/sso/forget"><small>忘记密码了？</small></a> | <a href="${basePath}/sso/regist">注册一个新账号</a>-->
            </p>

        </form>
    </div>
</div>
<script src="${basePath}/resources/zheng-admin/plugins/jquery.1.12.4.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/bootstrap-3.3.0/js/bootstrap.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/waves-0.7.5/waves.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/checkbix/js/checkbix.min.js"></script>
<script src="${basePath}/resources/zheng-admin/js/dictselect.js"></script>
<script>var BASE_PATH = '${basePath}';</script>
<script>var BACK_URL = '${param.backurl}';</script>
<script src="${basePath}/resources/zheng-admin/js/login.js"></script>
<script>
<c:if test="${param.forceLogout == 1}">
alert('您已被强制下线！');
top.location.href = '${basePath}/sso/login';
</c:if>
//解决iframe下系统超时无法跳出iframe框架的问题
if (window != top){
    top.location.href = location.href;
}
</script>
</body>
</html>
